package com.ayf.payment.game.api.service.impl;

import com.ayf.payment.game.api.dto.GameInfoGiftLogDTO;
import com.ayf.payment.game.api.dto.criteria.GameInfoGiftLogPageCriteria;
import com.ayf.payment.game.api.entity.GameInfoGiftLog;
import com.ayf.payment.game.api.mapper.GameInfoGiftLogMapper;
import com.ayf.payment.game.api.service.GameInfoGiftLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GameInfoGiftLogServiceImpl implements GameInfoGiftLogService {

    @Resource
    private GameInfoGiftLogMapper gameInfoGiftLogMapper;

    @Override
    public void addList(List<GameInfoGiftLog> list) {
        gameInfoGiftLogMapper.addList(list);
    }

    @Override
    public List<GameInfoGiftLogDTO> selectList(GameInfoGiftLogPageCriteria criteria) {
        return gameInfoGiftLogMapper.selectList(criteria);
    }
}


